package com.lovegu.other;

/**
 * @author 老顾
 * @title: Test
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/26 10:17
 */
public class Test {
    public int id;

    public void test(){
        System.out.println("111");
    }

    public static void main(String[] args) {
        T2 t2 = new T2();
        t2.name1.length();
    }

    private static class t1{
        public void main(String[] args) {
            Test test = new Test();
            test.test();
        }
    }
}
class T2{
    public String name1;

    public static void main(String[] args) {
        Test test = new Test();
        test.test();
    }
}

